package service;

import java.util.ArrayList;

import pojo.Book;
import pojo.BookImage;
import pojo.MallHomeImage;
import pojo.ShoppingCart;

public interface MallService {

	ArrayList<MallHomeImage> getHomeIma();

	ArrayList<Book> getBooks();

	ArrayList<BookImage> getBookImages(int bookid);

	ArrayList<ShoppingCart> getCartBook(int userid);

	int getCartBook(int userid, int bookid);

	int carRemove(int scid);

	int toPay(int userid, float money);

	int emptyCart(int userid);

	ArrayList<Book> queryBookByName(String book);

}
